package com.virtualmall.service;

import java.util.List;

import com.virtualmall.bean.Order;
import com.virtualmall.common.Page;

public interface OrderService {
    void create(Order Order);
    
    List<Order> getOrderList(Long userId,String orderType,Page page);
    
    Long getOrderListCount(Long userId);

    Order read(Long id);
    
    List<Order> read(Order order);
    
    void delete(Order order);
    
    void update(Order order);
}
